package org.atlantis.grosbeak.pot.mapper;

import java.lang.reflect.Method;

/**
 * 属性映射。
 * 
 * @author <a href="mailto:seenoevil.cn@gmail.com">SeeNoEvil</a>
 * 
 */
class PropertyMapper {
	public final String name;
	public final Method method;
	public final boolean nullable;
	public final FieldMapper<?> mapper;

	public PropertyMapper(String name, Method method, boolean nullable,
			FieldMapper<?> mapper) {
		this.name = name;
		this.method = method;
		this.nullable = nullable;
		this.mapper = mapper;
	}
}
